package com.example.service;

import com.example.entity.ServiceApplication;
import java.util.List;

public interface ServiceApplicationService {
    boolean submitApplication(ServiceApplication application);
    boolean reviewApplication(Integer applicationId, Integer reviewerId, String status, String comment);
    List<ServiceApplication> getPendingApplications();
    List<ServiceApplication> getUserApplications(Integer userId);
    ServiceApplication getApplicationById(Integer applicationId);

    ServiceApplication getLatestApprovedApplication(Integer userId, String applicationType);
}